import request from '@/utils/request'

/**
 * @description 首页概况
 * @param
 * @returns
 */
export async function index(data) {
	return request({
		url: '/shop/cash.cash/index',
		method: 'post',
		data,
	});
}
/**
 * @description 首页概况
 * @param
 * @returns
 */
export async function settled(data) {
	return request({
		url: '/shop/cash.settled/index',
		method: 'post',
		data,
	});
}
/**
 * @description 商户结算数据
 * @param
 * @returns
 */
export async function settledList(data) {
	return request({
		url: '/shop/cash.settled/settled',
		method: 'post',
		data,
	});
}

/**
 * @description 商户结算数据
 * @param
 * @returns
 */
export async function settledDetail(data) {
	return request({
		url: '/shop/cash.settled/detail',
		method: 'post',
		data,
	});
}